package multidraw.model.commands;

import multidraw.model.Canvas;
import multidraw.model.DrawingCanvasModel;
import multidraw.model.Shape;

public class AddShapeCommand extends Command {
	protected Shape shape;	
	
	
	public AddShapeCommand(Shape s, long cID) {
		this.shape = s;
		this.commandID = cID;
	}
	
	public void execute() {
		if (canvas != null)
			canvas.applyAddShape(shape);
	}
}
